package org.gardenXml.diObjest;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestEmp {
    public static void main(String[] args) {
        ApplicationContext context =new ClassPathXmlApplicationContext("beanEmp.xml");
        Emp emp = context.getBean("emp2",Emp.class);
        emp.work();


    }
}
